/**
 * @apiDefine ffmpeErrorException
 * @apiErrorExample {json} Error-Response:
 *     HTTP/1.1 500 Not Found
 *     {
 *           "code": 500,
 *           "msg": "错误消息"
 *     }
 */

/**
 * @api {post} /videopicture 视频封面图
 * @apiName videopicture
 * @apiGroup FFmpeg
 * @apiBody {String} VideoPath  视频路径 绝对路径
 * @apiBody {Number} Width  视频路径 绝对路径
 * @apiBody {Number} Height  视频路径 绝对路径
 * @apiParamExample {json} Request-Example:
 *     {
 *        "VideoPath":"D:\\convert\\test.mp4",
 *        "Width":600,
 *        "Height":400
 *     }
 * @apiSuccess {String} guid 转换唯一标识.
 * @apiSuccess {String} catalogFile 转换成功存放文件目录(capture.jpeg).
 *
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *		"guid": "119146fb-0b2f-4348-b871-55aa532ab7e4",
 *		"catalogFile": "D:\\git\\eventbusnet6\\EventBusNet6\\bin\\Debug\\net6.0\\202305\\26\\119146fb-0b2f-4348-b871-55aa532ab7e4"
 *	},
 *	"message": null
 *  }
 * @apiUse ffmpeErrorException
 */

/**
 * @api {post} /videoinfo 获取视频信息
 * @apiName videoinfo
 * @apiGroup FFmpeg
 * @apiBody {String} VideoPath  视频路径 绝对路径
 * @apiParamExample {json} Request-Example:
 *     {
 *        "VideoPath":"D:\\convert\\test.mp4"
 *     }
 * @apiSuccess {String} fileName 文件名称
 * @apiSuccess {String} duration 持续时间.
 * @apiSuccess {String} sizeByte 大小.
 * @apiSuccess {String} bitRate 比特率.
 * @apiSuccess {String} width 视频宽度.
 * @apiSuccess {String} height 视频高度.
 * @apiSuccess {String} codeName 编码名称.
 * @apiSuccess {String} guid 唯一标识.
 * @apiSuccess {String} catalogFile 目录文件.
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *      "fileName": "D:\\convert\\test.mp4",
 *		"duration": "60.095000",
 *		"sizeByte": "5510872",
 *		"bitRate": "733621",
 *		"width": "640",
 *		"height": "360",
 *		"guid": "371cd630-ce3d-47cf-a641-ac560681812e",
 *		"catalogFile": null
 *		"codeName": "h264",
 *	},
 *	"message": null
 *  }
 * @apiUse ffmpeErrorException
 */

/**
 * @api {post} /audioinfo 获取音频信息
 * @apiName audioinfo
 * @apiGroup FFmpeg
 * @apiBody {String} AudioPath  音频路径 绝对路径
 * @apiParamExample {json} Request-Example:
 *     {
 *        "AudioPath":"D:\\convert\\test.mp4",
 *     }
 * @apiSuccess {String} fileName 文件名称
 * @apiSuccess {String} duration 持续时间.
 * @apiSuccess {String} sizeByte 大小.
 * @apiSuccess {String} bitRate 比特率.
 * @apiSuccess {String} duration 视频宽度.
 * @apiSuccess {String} guid 唯一标识.
 * @apiSuccess {String} catalogFile 目录文件.
 * @apiSuccessExample Success-Response:
 *   HTTP/1.1 200 OK
 *   {
 *	"code": 0,
 *	"data": {
 *      "fileName": "D:\\convert\\土豆.mp3",
 *		"duration": "270.080000",
 *		"sizeByte": "4321742",
 *		"bitRate": "128013",
 *		"guid": "a33432a2-a0dc-43ef-af45-7f6e154d975c",
 *		"catalogFile": null
 *	},
 *	"message": null
 *  }
 * @apiUse ffmpeErrorException
 */